package com.nwpu.coursesupport.service;

import com.nwpu.coursesupport.criteria.ClassStudentSearchCriteria;
import com.nwpu.coursesupport.entity.bean.JSONResult;
import com.nwpu.coursesupport.exception.StudentBatchAddException;
import com.nwpu.coursesupport.service.param.ClassStudentServiceParam;
import com.nwpu.coursesupport.service.param.ClassStudentServiceParam.SearchViewParam;
import com.nwpu.coursesupport.service.param.IDListParam;
import com.nwpu.coursesupport.service.param.IDParam;

public interface ClassStudentService {
	
	public JSONResult detail(IDParam p);
	public JSONResult findStudentByParam(ClassStudentSearchCriteria sc);
	public JSONResult batchCreateSmallClass(ClassStudentServiceParam.BatchCreateParam p) throws StudentBatchAddException;
	public JSONResult batchCreateClass(ClassStudentServiceParam.BatchCreateClassParam p)throws StudentBatchAddException;
	public JSONResult create(ClassStudentServiceParam.CreateParam p);
	public JSONResult update(ClassStudentServiceParam.UpdateParam p);
	public JSONResult remove(IDParam p);
	public JSONResult removeAll(IDListParam p);
	public JSONResult searchListData(ClassStudentSearchCriteria sc);
	public JSONResult listView(SearchViewParam p);
	public JSONResult parseByExcel(ClassStudentServiceParam.CreateByExcelParam p);
	
}
